<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <style>
            html,body{
                height:100%;
                width:100%;
                padding:0;
                margin:0;
				/* overflow-x: hidden; */
            }
            #preview{
                width:calc(100% - 4px);
                /* height:calc(100% - 30px); */
				height:calc(100% - 14px);
                padding:0;
				padding-top:10px;
                margin:0 auto;
				/* border:1px solid red; */
            }
            #preview *{font-family:sans-serif;font-size:14px;}
			p{
				text-indent:2em;
			}
        </style>
        <script type="text/javascript" src="../internal.js"></script>
        <script src="../../ueditor.parse.js"></script>
        <title></title>
    </head>
    <body class="view">
        <div id="preview">

        </div>
    </body>
    <script>
	    //parent.document.getElementById('edui_fixedlayer').style.top = '46px';
        document.getElementById('preview').innerHTML = editor.getContent();
        uParse('#preview',{
            rootPath : '../../',
            chartContainerHeight:500
        })
        dialog.oncancel = function(){
            document.getElementById('preview').innerHTML = '';
        }
    </script>
</html>